package com.example.service;

import com.example.domain.Songlist;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface SonglistService {
   /**
    * @Description: 根据歌单查询条件查询歌单列表
    * @Author: Ma_XiaoLong
    * @CreateTime: 2024/1/15 11:01
    * @param: songlist
    * @return: java.util.List<com.example.domain.Songlist>
    **/
    List<Songlist> getListBySonglist(Songlist songlist);
/**
 * @Description: 根据歌单ID获取歌曲信息
 * @Author: Ma_XiaoLong
 * @CreateTime: 2024/1/17 9:24
 * @param: songlistId
 * @return: com.example.domain.Songlist
 **/
    Songlist getById(Integer songlistId);
/**
 * @Description: TODO
 * @Author: Ma_XiaoLong
 * @CreateTime: 2024/1/17 10:46
 * @param: songlist
 * @return: int
 **/
    int updateById(Songlist songlist);
/**
 * @Description: 新增歌单
 * @Author: Ma_XiaoLong
 * @CreateTime: 2024/1/17 10:46
 * @param: songlist
 * @return: int
 **/
    int saveSonglist(Songlist songlist);

    int deleteById(Integer id);
}
